Optimal. Leaf size=42 \[ \frac {2 (A b-a B) (a+b x)^{7/2}}{7 b^2}+\frac {2 B (a+b x)^{9/2}}{9 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {45}
\begin {gather*} \frac {2 (a+b x)^{7/2} (A b-a B)}{7 b^2}+\frac {2 B (a+b x)^{9/2}}{9 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int (a+b x)^{5/2} (A+B x) \, dx &=\int \left (\frac {(A b-a B) (a+b x)^{5/2}}{b}+\frac {B (a+b x)^{7/2}}{b}\right ) \, dx\\ &=\frac {2 (A b-a B) (a+b x)^{7/2}}{7 b^2}+\frac {2 B (a+b x)^{9/2}}{9 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 30, normalized size = 0.71 \begin {gather*} \frac {2 (a+b x)^{7/2} (9 A b-2 a B+7 b B x)}{63 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 34, normalized size = 0.81
method | result | size |
gosper | \(\frac {2 \left (b x +a \right )^{\frac {7}{2}} \left (7 b B x +9 A b -2 B a \right )}{63 b^{2}}\) | \(27\) |
derivativedivides | \(\frac {\frac {2 B \left (b x +a \right )^{\frac {9}{2}}}{9}+\frac {2 \left (A b -B a \right ) \left (b x +a \right )^{\frac {7}{2}}}{7}}{b^{2}}\) | \(34\) |
default | \(\frac {\frac {2 B \left (b x +a \right )^{\frac {9}{2}}}{9}+\frac {2 \left (A b -B a \right ) \left (b x +a \right )^{\frac {7}{2}}}{7}}{b^{2}}\) | \(34\) |
trager | \(\frac {2 \left (7 B \,x^{4} b^{4}+9 A \,b^{4} x^{3}+19 B a \,b^{3} x^{3}+27 A a \,b^{3} x^{2}+15 B \,a^{2} b^{2} x^{2}+27 A \,a^{2} b^{2} x +B \,a^{3} b x +9 A \,a^{3} b -2 a^{4} B \right ) \sqrt {b x +a}}{63 b^{2}}\) | \(94\) |
risch | \(\frac {2 \left (7 B \,x^{4} b^{4}+9 A \,b^{4} x^{3}+19 B a \,b^{3} x^{3}+27 A a \,b^{3} x^{2}+15 B \,a^{2} b^{2} x^{2}+27 A \,a^{2} b^{2} x +B \,a^{3} b x +9 A \,a^{3} b -2 a^{4} B \right ) \sqrt {b x +a}}{63 b^{2}}\) | \(94\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 33, normalized size = 0.79 \begin {gather*} \frac {2 \, {\left (7 \, {\left (b x + a\right )}^{\frac {9}{2}} B - 9 \, {\left (B a - A b\right )} {\left (b x + a\right )}^{\frac {7}{2}}\right )}}{63 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 93 vs.
\(2 (34) = 68\).
time = 0.83, size = 93, normalized size = 2.21 \begin {gather*} \frac {2 \, {\left (7 \, B b^{4} x^{4} - 2 \, B a^{4} + 9 \, A a^{3} b + {\left (19 \, B a b^{3} + 9 \, A b^{4}\right )} x^{3} + 3 \, {\left (5 \, B a^{2} b^{2} + 9 \, A a b^{3}\right )} x^{2} + {\left (B a^{3} b + 27 \, A a^{2} b^{2}\right )} x\right )} \sqrt {b x + a}}{63 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 194 vs.
\(2 (41) = 82\).
time = 0.29, size = 194, normalized size = 4.62 \begin {gather*} \begin {cases} \frac {2 A a^{3} \sqrt {a + b x}}{7 b} + \frac {6 A a^{2} x \sqrt {a + b x}}{7} + \frac {6 A a b x^{2} \sqrt {a + b x}}{7} + \frac {2 A b^{2} x^{3} \sqrt {a + b x}}{7} - \frac {4 B a^{4} \sqrt {a + b x}}{63 b^{2}} + \frac {2 B a^{3} x \sqrt {a + b x}}{63 b} + \frac {10 B a^{2} x^{2} \sqrt {a + b x}}{21} + \frac {38 B a b x^{3} \sqrt {a + b x}}{63} + \frac {2 B b^{2} x^{4} \sqrt {a + b x}}{9} & \text {for}\: b \neq 0 \\a^{\frac {5}{2}} \left (A x + \frac {B x^{2}}{2}\right ) & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 306 vs.
\(2 (34) = 68\).
time = 1.70, size = 306, normalized size = 7.29 \begin {gather*} \frac {2 \, {\left (315 \, \sqrt {b x + a} A a^{3} + 315 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {b x + a} a\right )} A a^{2} + \frac {105 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} - 3 \, \sqrt {b x + a} a\right )} B a^{3}}{b} + 63 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} A a + \frac {63 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} B a^{2}}{b} + 9 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )} A + \frac {27 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )} B a}{b} + \frac {{\left (35 \, {\left (b x + a\right )}^{\frac {9}{2}} - 180 \, {\left (b x + a\right )}^{\frac {7}{2}} a + 378 \, {\left (b x + a\right )}^{\frac {5}{2}} a^{2} - 420 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{3} + 315 \, \sqrt {b x + a} a^{4}\right )} B}{b}\right )}}{315 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 29, normalized size = 0.69 \begin {gather*} \frac {2\,{\left (a+b\,x\right )}^{7/2}\,\left (9\,A\,b-9\,B\,a+7\,B\,\left (a+b\,x\right )\right )}{63\,b^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________